package com.bosssoft.hr.jobmonitor.config.common;

import com.bosssoft.hr.jobmonitor.core.mail.MailContent;
import com.bosssoft.hr.jobmonitor.entity.Auth;
import lombok.Data;

/***
 * @Author lys(cherish)
 * @Description 系统配置
 * @Date  2019/2/26
 **/
@Data
public class SysConfig {

    //邮件在任务截止日期前发送时间长度
    private String preMailTime;

    //作业根目录
    private String homeDir;

    //邮件内容
    private MailContent mailContent;

    //权限认证
    private Auth auth;

    public SysConfig(String preMailTime, String homeDir,MailContent mailContent,Auth auth) {
        this.preMailTime = preMailTime;
        this.homeDir=homeDir;
        this.mailContent=mailContent;
        this.auth=auth;
    }

    public SysConfig(){ }

}
